<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
  <title></title>
  <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=8" />
  <link href="styles/default.css" rel="stylesheet" type="text/css" />
  <script type="text/javascript" src="scripts/login.js"></script>
  <script type="text/javascript" src="scripts/devicetabs.js"></script>
  <script type="text/javascript" src="scripts/date.format.js"></script>
  <script type="text/javascript" src="scripts/device.js"></script>
  <script type="text/javascript" src="scripts/catalogs.js"></script>
  <script type="text/javascript" src="sql/devicedal.js"></script>
  <script type="text/javascript" src="scripts/deviceinformation.js"></script>
  <script type="text/javascript" src="jsolait/jsolait.js"></script>
  <script type="text/javascript" src="scripts/common.js"></script>
  <script type="text/javascript" src="scripts/template.js"></script>
  <script type="text/javascript" src="scripts/command.js"></script>
  <script type="text/javascript" src="sql/commandsdal.js"></script>  
  <script type="text/javascript" src="scripts/appsettings.js"></script>

  <!--[if (lte IE 6)|(gte IE 8)]>
  <style type="text/css">
     #outer {height:100%;display:table;}
  </style>
  <![endif]-->
</head>

<body onload="InitDeviceInformationPage();">
<div id="outer">
<div id="inner">
<div id="header"></div>
<div id="content">
<div id="columnB"></div>
<!-- START PAGE CONTENT -->        
<div id="columnA">
<h2>Device Details</h2>	    

        <table cellpadding="0" cellspacing="0" width="900px" border="0">
            <tr align="center">
		        <td width="70px" id="tab0"></td>
    		    <td width="60px" id="tab1"></td>
	   	        <td width="110px" id="tab2"></td>
  	   	        <td width="120px" id="tab3"></td>
   	            <td width="110px" id="tab4"></td>
		        <!--td width="130px" id="tab5"></td-->
		        <td width="100px" id="tab6"></td>
		        <td class="tabButton">&nbsp;</td>
            </tr>
        </table> 
		<table cellpadding="0" cellspacing="0" class="containerDiv" width="900px" border="0">
	        <tr>
	            <td align="left">
     	            <table width="100%" cellpadding="0" cellspacing="0">
				        <tr><td class="windowHeader"></td></tr>
	       		    </table>
	   	       	</td>
            </tr>
			<tr class="labels">
			    <td valign="top" align="center">
			    <table width="890px" border="0">
			        <tr align="left">
			            <td width="115px">
			   	           <strong>EUI-64 Address: </strong><br/>
						   						   
   			   	           <strong>Nickname: </strong><br/>
						   <br/>
  			   	           <strong>Device Role: </strong><br/>
  			   	           <strong>Device Status: </strong><br/>
   			   	           <strong>Last Read: </strong><br/>
   			   	           <strong>Power Status: </strong><br/>
                        </td>						
						<td align="left">
							<span id="spnEUI64"></span><br/>
							
							<span id="spnNickname"></span><br/>
							<br/>
							<span id="spnDeviceRole"></span><br/>
							<span id="spnDeviceStatus"></span><br/>
							<span id="spnLastRead"></span><br/>  	
							<span id="spnPowerStatus"></span><br/> 
						</td>
			            <td width="100px">
		   	               <strong>Manufacturer: </strong><br/>
		   	               <strong>Model: </strong><br/>
		   	               <strong>Revision: </strong><br/>
		   	               <br/>
		   	               <strong>Generated: </strong><br/>
                           <strong>All Tx: </strong><br/> 			   	   
                           <strong>No ACK: </strong><br/>                   
                           <strong>Terminated: </strong><br/>
						   
                        </td>
						<td align="left">
							<span id="spnManufacturer"></span><br/>
							<span id="spnModel"></span><br/>
							<span id="spnRevision"></span><br/>
							<br/>							
							<span id="spnGenerated"></span><br/>
							<span id="spnAllTx"></span><br/>
							<span id="spnNoACK"></span><br/>
							<span id="spnTerminated"></span><br/>							
						</td>						
			            <td width="90px">
		   	               <br/><br/><br/>
						   <strong>All Rx: </strong><br/>
		   	               <strong>DLL Failures: </strong><br/>
                           <strong>NL Failures: </strong><br/> 			   	   
                           <strong>CRC Error: </strong><br/>                   
                           <strong>Nonce Lost: </strong><br/>
                        </td>
						<td align="left">
							<br/><br/><br/>
							<span id="spnAllRx"></span><br/>							
							<span id="spnDLLFailures"></span><br/>
							<span id="spnNLFailures"></span><br/>
							<span id="spnCRCError"></span><br/>
							<span id="spnNonceLost"></span><br/>
						</td>						
                        <td align="right" valign="top"> 
                            <input type="button" id="btnBack" value='Back' class="buttonFilter" onclick="BackButtonClicked();"/>
                        </td>
                    </tr>    
					<tr>
						<td colspan="7" ></td>      
					</tr>					           
		        </table>
        		</td>
			</tr>	      
			<tr align="center">
                <td>   					           
                    <table cellpadding="0" cellspacing="0" class="tableHeader" width="890px" border="0" >
                        <tr>
                             <td align="left" class="labels" style="color:#FFFFFF">
					       	    Items per page
			                    <select id="ddlRowsPerPage" name="ddlRowsPerPage" class="dropdown" style="width: 60px;" onchange="BuildProcessValuesTable()"> 
		                            <option value="10">10</option>
		                            <option value="25">25</option>
		                            <option value="50">50</option>
		                            <option value="100">100</option>
		                            <option value="200">200</option>
			                    </select> 
								<span id="spnTotalNoOfRows"></span>
			                 </td>	
    			            <td align="right">
			                    <a id="anchorFirst">&lt;&lt;</a>&nbsp;
			                    <a id="anchorPrev">&lt;</a>&nbsp;
			                    <span id="spnPageNumber"></span>&nbsp;
			                    <a id="anchorNext">&gt;</a>&nbsp;
			                    <a id="anchorLast">&gt;&gt;</a>&nbsp;
                            </td>
                        </tr>
                    </table>
		            <div id="tblChannels" align="center"></div>
		            <textarea id="channels_jst" style="display:none;" >
    		        <table cellpadding="0" cellspacing="0" class="containerDiv" width="890px">    		        	
		                <tr align="center">
			                <td align="center">
				                <table width="100%" cellpadding="0" cellspacing="0" border="0">
					                <tr>								
						                <td class="tableSubHeader" style="width: 110px;" align="center">Name</td>
						                <td class="tableSubHeader" style="width: 90px;" align="center">Burst Message</td>
						                <td class="tableSubHeader" style="width: 110px;" align="center">Device Variable Slot</td>
						                <td class="tableSubHeader" style="width: 110px;" align="center">Device Variable</td>
						                <td class="tableSubHeader" style="width: 110px;" align="center">Classification</td>
						                <td class="tableSubHeader" style="width: 110px;" align="center">Unit Code</td>
						                <td class="tableSubHeader" style="width: 110px;" align="center">Update Period</td>
						                <td class="tableSubHeader" style="width: 110px;" align="center">Max Update Period</td>
						                <td class="tableSubHeader" style="width: 20px;" align="center">ATD</td>
					                </tr>					
                                    {for c in channels}					
					                <tr>
						                <td class="${c.cellClass}" style="width: 110px;" align="center">${c.Name}</td>
						                <td class="${c.cellClass}" style="width: 90px;" align="center">${c.BurstMessage}</td>
						                <td class="${c.cellClass}" style="width: 110px;" align="center">${c.DeviceVariableSlot}</td>
						                <td class="${c.cellClass}" style="width: 110px;" align="center">${c.DeviceVariable}</td>
						                <td class="${c.cellClass}" style="width: 110px;" align="center">${c.Classification}</td>
						                <td class="${c.cellClass}" style="width: 110px;" align="center">${c.UnitCode}</td>
						                <td class="${c.cellClass}" style="width: 110px;" align="center">${c.UpdatePeriod}</td>
						                <td class="${c.cellClass}" style="width: 110px;" align="center">${c.MaxUpdatePeriod}</td>
						                <td class="${c.cellClass}" style="width: 20px;" align="center">${c.ATD}</td>
                    		        </tr>           		
            		                {/for}            		
            		                <tr>
            		                    <td class="tableHeader" colspan="9">&nbsp;</td>
		        			        </tr>
				                </table>
 			                </td>
                        </tr>
    		        </table>		    
		            </textarea>
		        </td>
			</tr>
            <tr>
            	<td class="spacer"></td>
            </tr>
		</table>	
	  	</div>		  	
        <!-- END PAGE CONTENT -->
</div>
</div>
</div>
<div id="footer"></div>
</body>

</html>
